package cn.by.wms.dao;

import cn.by.wms.entity.Roles;
import cn.by.wms.entity.UserRole;
import cn.smart.core.annotation.PageX;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface UserRoleDao {
    @PageX


    /**
     * 查询所有角色
     * @return
     */
    List<Roles> selectRole(Roles roles);

    Integer insert(UserRole userRole);

    Integer delete(UserRole userRole);


}
